<?$this->load->view('admin/tools/admin-header')?>
<?$this->load->view('admin/tools/admin-menu')?>
<div class="wrap">
	<a><div id="icon-index" class="icon32"><br /></div></a><br>
<h3><a>View -> Testimonial</a></h3>
<div id="dashboard-widgets-wrap">
<a href="javascript: history.go(-1)"><img src="<?=base_url()?>css/icon/backbutton.png" title="Back"></a>
<form enctype="multipart/form-data" action="<?=site_url('administrator/update_produk')?>" method='POST'><br>
Detil Penawaran Broker :
<table width="500px" cellspacing="10" cellpadding="10">
	<tbody>
	<?
	$s=2;
	foreach ($query as $row)
		{
			$id			= $row->id;
			$nama		= $row->nama;
			$email	 	= $row->email;
			$telepon	= $row->telepon;
			$alamat	 	= $row->alamat;
			$pesan   	= $row->isi;
			$kota   	= $row->kota;
			$tanggal	= $row->tanggal;
			
	$order   = array("\\r\\n", "\\n", "\\r");
	$replace = '<br>';
	$pesan2 = str_replace("\\n","<br>", $pesan)	
	//$pesan2 = stripslashes(htmlentities($pesan));	
		?>
			
	<tr style="background:#FFFFFF;color:red;"valign="top"><td><b>Nama : </b></td>
	<td><font size="<?=$s?>"><b style="color:red"><?=$nama;?> </b></font></td></tr>
	<tr style="background:#FFFFFF;"valign="top">
		<td><font size="<?=$s?>"><b>Tanggal </b></font></td>
		<td><font size="<?=$s?>"><b><?=$tanggal;?></b></font></td>
	</tr>
	<tr style="background:#FFFFFF"valign="top">
		<td><font size="<?=$s?>"><b>Email</b></font></td>
		<td><font size="<?=$s?>"><?=$email;?></font></td>
	</tr>
	<tr style="background:#FFFFFF"valign="top">
		<td><font size="<?=$s?>"><b>Telepon</b></font></td>
		<td><font size="<?=$s?>"><?=$telepon;?></font></td>
	</tr>	
	<tr style="background:#FFFFFF"valign="top">
		<td><font size="<?=$s?>"><b>Alamat</b></font></td>
		<td><font size="<?=$s?>"><?=$alamat;?></font></td>
	</tr>	
	<tr style="background:#FFFFFF"valign="top">
		<td><font size="<?=$s?>"><b>Kota</b></font></td>
		<td><font size="<?=$s?>"><?=$kota;?></font></td>
	</tr>
	
	<tr style="background:#FFFFFF"valign="top">
		<td><font size="<?=$s?>"><b>Pesan</b></font></td>
		<td align="justify"><font size="<?=$s?>"><? echo nl2br($pesan2);?></font></td>
	</tr>
	
		<?}?>
	</tbody>
</table>
</form>
</div>
</div><!-- wrap -->


<div class="clear"></div></div><!-- wpbody-content -->
<div class="clear"></div></div><!-- wpbody -->
<div class="clear"></div></div><!-- wpcontent -->
</div><!-- wpwrap -->

<!--admin-footer-->
<?$this->load->view('admin/tools/admin-footer');?>
<!--admin-footer-->